updated register.jsp and added checkFormRedirect condition for Login, Register and Logout