Built views for admin page
Building views for index page p.2 + minor code fix