Added local storage of user.