working on saving user data