adding authentication error messages