added pagination gem and group pages for notes and managing lists