added paginating functionality to managers/ page