errorArray ( ) 2. not trying to login as student or teacher