fixes to get user, login and save storage