@Override
public String handle(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
HttpSession session = request.getSession();
if(isAuthenticationRequest(request)){
BaseAuthenticationHandler authenticationHandler = ((SimpleServiceProxy)getServiceProxy()).getAuthenticationHandler();
Object u = request.getParameter("username");
Object p = request.getParameter("password");
String username = u!=null?(String)u:null;
String password = p!=null?(String)p:null;
IUser authorizedUser = authenticationHandler.authenticate(username, password);
if(authorizedUser == null){
//response.sendRedirect("login.jsp");
request.getRequestDispatcher("/login").forward(request, response);
return null;
}else{