added functionality to get staff/prof list