Fixed error handling on sign in page