protected void doGet(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		try {
			Library library = new Library();
			if (request.getParameter("cardNumber") != null) {
				request.getSession().setAttribute("patron",
						library.getPatron(Integer.parseInt(
								request.getParameter("cardNumber"))));
			}
			if (request.getSession().getAttribute("patron") != null) {
				request.setAttribute("bookResults",
						library.getPatronRecord(
								((Patron) request.getSession().getAttribute(
										"patron")).getCardNumber(),
								"", "Title", "Title", 0));
			}
		} catch (SQLException e) {
			e.printStackTrace();
		}
		request.getRequestDispatcher("WEB-INF/patron-record.jsp").forward(
				request, response);
	}