error displayed on login page itself if incorrect
display the button if atleast one match exist