removed bug in insertProfessor()
Removed wrapper function calls and updatedthe js file to reset the form correctly after creating an account