error handling upon sign in