Added AjaxController.java, and wired in the cookie ajax call. Changed some column names in the db.