Modify login to return user object instead of individual fields.