Added functionality for staff pages.