fixed error messages for wrong login credentials