User repository support and Json controllers