Add errorMessage to login view