@Override
	public void actionPerformed(ActionEvent e) {
		if(e.getSource() == logOff){
			frameRef.setContentPane(new Login(frameRef));
		}
		if(e.getSource() == searchItems){
			contentPanelLayout.show(panel, "searchItems");
		}
		if(e.getSource() == searchBooks){
			contentPanelLayout.show(panel, "searchBooks");
		}
		if(e.getSource() == borrowedItems){
			contentPanelLayout.show(panel, "borrowedItems");
		}
		if(e.getSource() == borrowedBooks){
			contentPanelLayout.show(panel, "borrowedBooks");
		}
		if(e.getSource() == reservedBooks){
			contentPanelLayout.show(panel, "reservedBooks");
		}
		if(e.getSource() == reservedItems){
			contentPanelLayout.show(panel, "reservedItems");
		}
	}