is it possible to do a redirect to a specific page when a user tries to login but there is no username.

not when the passwd is wrong, in this case i would redirect to a different page to reset the passwd.