Authentication Logic and Error JSP