public function __construct(Role_user $role_user, User $user, Client $client, RoleHelper $roleHelper)
 {
     //next lines are temp code, until roles and auth implemented
     //		$this->arr_logged_in_user = array();
     //		$this->middleware('three_step:admin');
     $this->middleware('auth');
     if (Auth::check()) {
         //			$this->client_id = $user->find($user->id)->cloakedClientId();
         $this->middleware('role:client');
         $this->obj_logged_in_user = Auth::user();
         $this->arr_logged_in_user = $client->getClientInfo(Auth::user()->id, Auth::user()->email);
         //		$this->arr_logged_in_client_info = $client->getClientInfo(Auth::user()->id);
     }
     // end if Auth::check()
 }
 public function __construct(Role_user $role_user, User $user, Client $client, RoleHelper $roleHelper)
 {
     //		$this->middleware('three_step:admin');
     //		$this->middleware('three_step');
     $this->middleware('auth');
     if (Auth::check()) {
         //			$objClient = $user
         //			->where('id', Auth::user()->id)
         //		->first()->client()->first();
         //			$this->cloakedClientId = $objClient->cloaked_client_id;
         $this->middleware('role:client');
         //			$this->obj_logged_in_user = Auth::user();
         $this->arr_logged_in_user = $client->getClientInfo(Auth::user()->id, Auth::user()->email);
         $this->cloakedClientId = $this->arr_logged_in_user['cloaked_client_id'];
     }
     // end if Auth::check()
 }