@Override
	public void actionPerformed(ActionEvent e) {
		if(e.getSource() == viewAllLibrarians){
			contentPanelLayout.show(panel, "viewLibrarians");			
		}
		if(e.getSource() == createLibrarianAccount){
			contentPanelLayout.show(panel, "createLibrarian");
		}
		if(e.getSource() == removeLibrarianAccount){
			contentPanelLayout.show(panel, "removeLibrarians");
			
		}
		if(e.getSource() == viewAllVisitors){
			contentPanelLayout.show(panel, "viewMembers");
		}
		if(e.getSource() == removeVisitor){
			contentPanelLayout.show(panel, "deleteMember");
			
		}
		if(e.getSource() == changePassword){
			
		}
		if(e.getSource() == logOff){
			frameRef.setContentPane(new Login(frameRef));			
		}
	}