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