@Override
protected void doGet(HttpServletRequest request,
		HttpServletResponse response) throws ServletException, IOException {
	String user = request.getRemoteUser();
	PrintWriter out = response.getWriter();
	showBartenderOrdersForm(out);
	int p=0;

//	u.getAccess()==1
	
	if (user != null) {
		try {
			p=loggedInUser.getAccess(user);
		} catch (SQLException e1) {
			response.getWriter().println("<p> Exception</p>");
		}
		
		if (p==1) {
//	response.getWriter().println("<center><br><br><h3>Order Placement!  </h3></center>");
	try {
		appendOrderTable(response);
		appendAddForm(response);
	} catch (Exception e) {
		response.getWriter().println(
				"Persistence operation failed with reason: "
						+ e.getMessage());
		LOGGER.error("Persistence operation failed", e);
	}
		} else {
			response.getWriter().println("You don't have the permision to view this"); 
			response.getWriter().println("<p>"+user+"</p>");
			}
		
		
    } else {
        LoginContext loginContext;
        try {
          loginContext = LoginContextFactory.createLoginContext("FORM");
          loginContext.login();
          response.getWriter().println("Hello, " + request.getRemoteUser());

        } catch (LoginException e) {
          e.printStackTrace();
        }
      }
	
}