Added security to admin pages and connect to lifegraph button