Login functionality using Servlet, JSP and Jquery