added pagination for admin and style