Added account creation functions for students and teachers and email facilities in Email.php