1. added pagination
2. changed the root path of route