Changes is_student and other flags to be based on user_type first and deductive logic second.