[#master] Finished pages and templates
Have finished privileges. Refactoring models and routes