public class Controller extends HttpServlet {
private static final long serialVersionUID = 1L;
public void init() throws ServletException {
Model model = new Model(getServletConfig());
//user identification.
Action.add(new LoginAction(model));
Action.add(new LogoutAction(model));
Action.add(new RegisterAction(model));
//user medication management.