added login errors