changed how views are rendered and started work on admin section