@Override
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
		UserService userService = UserServiceFactory.getUserService();
		User user = userService.getCurrentUser();
		if(user != null) {
			UserModel usermod = DataStore.getUser(user.getUserId());
			if(usermod==null) response.sendRedirect(userService.createLogoutURL("/"));
			request.setAttribute("user",usermod);
		}
		List<ScheduleTeamModel> schedules = DataStore.getAllTeamSchedulesByFinish("sched_date", false);
		String active = request.getParameter("sched_id");
		request.setAttribute("active", active);
		request.setAttribute("schedules", schedules);
		if(user != null) {
			ParisForm parisform = new ParisForm();
			parisform.createParis(request, user.getUserId());
			request.setAttribute(JSP_VAR_FORM, parisform);
		}

		RequestDispatcher dispatch = request.getRequestDispatcher("jsp/pages/ParisPage.jsp");  
        dispatch.forward(request, response);	
	}