converted Login Servlet to MVC