fully corrected login errors and trapped 'wrong password' errors