added user repository methods