sampoyigi Thanks Sam, i am able to add authentication could not add it through controllers but managed using one extra view. now i want this views be avilable only after login so i added below code on top of every page
`<?php namespace Admin\Controllers;
use Admin\Traits\ValidatesForm;
use AdminAuth;
use Igniter\Flame\Exception\ValidationException;
if (!AdminAuth::islogged()) {
// return $this->redirect(‘/rapp/login’);
echo “Not Logged In”;
}
?>`
its alwasy giving status as not logged in , i tested this on seperate tab /admin/login its redirecting me to dashboard so user is logged in but could not add protect to this page. can you please guide here.