If a \User class is defined, use that for checking for valid login