diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
index 0d1a77c..030a65c 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -377,7 +377,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
$rootScope.userModules = userInfo.Modules;
$rootScope.isVisibleLogin = false;
-
+ $rootScope.haveRoleAdmin = true;
if ($rootScope.refreshcheck == null) {
@@ -388,6 +388,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
else
{
+ $rootScope.haveRoleAdmin = false;
+
if (userInfo.LicenseInfo.IsTermAccepted) {
$rootScope.userData = userInfo;
$rootScope.userModules = userInfo.Modules;