When the user enters an invalid userid and incorrect password, the system will direct to the error page.From the error page it will be redirected to the login page..