added pagination, dashboard, and authorization handling