Improvements to archive

-Entries per page customizable
-Integrated new Permissions system
-Hopefully Fixed the chat duplication bug for good now

-Integrated new permissions system
-fixed private chat
Integrated new permissions system