Change login methods in LoginServlet.java