Add paginate to app