Added EnforceUserTypeMiddleware to check that users are advisors or chairs. Deleted the enforce_advisor middleware as it was redundant.