Changed the user type check to use the appropriate method in the physician and admin class. Changed them into ternaries.