Added functions for checking logins
Teacher controls to add students