Updated UserRepository