Ending Initial page and login error page