add pagination for departments index