generlize login.jsp and register.jsp