Keeping user information in database