error handling in authentification