ui fixes
diff --git a/erpnext/public/js/education/lms/components/CourseCard.vue b/erpnext/public/js/education/lms/components/CourseCard.vue
index e9b9e07..494c5e5 100644
--- a/erpnext/public/js/education/lms/components/CourseCard.vue
+++ b/erpnext/public/js/education/lms/components/CourseCard.vue
@@ -38,12 +38,11 @@
     name: "CourseCard",
     data() {
         return {
-            isLogin: lms.store.isLogin,
             courseMeta: {}
         }
     },
     mounted() {
-        if(this.isLogin) this.getCourseMeta().then(data => this.courseMeta = data)
+        this.getCourseMeta().then(data => this.courseMeta = data)
     },
     components: {
         AButton
@@ -65,6 +64,9 @@
             else {
                 return " hidden"
             }
+        },
+        isLogin() {
+            return lms.store.checkLogin()
         }
     },
     methods: {
diff --git a/erpnext/public/js/education/lms/routes.js b/erpnext/public/js/education/lms/routes.js
index 921f8ec..e6eb002 100644
--- a/erpnext/public/js/education/lms/routes.js
+++ b/erpnext/public/js/education/lms/routes.js
@@ -12,7 +12,12 @@
 		component: ContentPage,
 		props: true,
 		beforeEnter: (to, from, next) => {
-			if(!lms.store.isLogin) next({name: 'home'})
+			if(!lms.store.isLogin){
+				next({name: 'home'})
+			}
+			else {
+				next()
+			}
 		}
 	},
 	{