put username & email in localstorage