added UserAccountRepository, added saving/updating user's credentials in database after logging in