Redirection with storage system
Have a storage system that remembers last place a user was if it tries to go into the page without logging in. Save it in a local storage
Also fix the "logged_in" feature in localstorage since it cannot reconise if a user is logged out or not
Edited by Sondre Alfnes