Authentication fixed, UserRepository finished