role()!=='admin') { $username = $login->username(); } try { $user = new User($username); } catch (Exception $e) { Redirect::page('users'); } // HTML $layout['title'] = $L->g('Edit user') . ' - ' . $layout['title'];