login added, with user saving