changes UserRepository to use a more general URL