storing user with localstorage