Returning a judge instead of a user for the login endpoint