diff --git a/src/components/DestinationInfoCard.vue b/src/components/DestinationInfoCard.vue
index 653e6ff..6346791 100644
--- a/src/components/DestinationInfoCard.vue
+++ b/src/components/DestinationInfoCard.vue
@@ -11,7 +11,7 @@
{{nearestStructureData.display_name}}
- {{destination.subTitle}}
+
diff --git a/src/views/Login.vue b/src/views/Login.vue
index 260708f..d847f21 100644
--- a/src/views/Login.vue
+++ b/src/views/Login.vue
@@ -119,7 +119,7 @@ export default {
// localStorage.setItem('isLoggedIn', true);
// console.log(isLoggedIn);
console.log(data.success);
- sessionStorage.setItem('current_user', data.user.username);
+ sessionStorage.setItem('current_user', JSON.stringify({id:data.user._id,username:data.user.username,email:data.user.email}));
this.$router.push({ name: 'home' });
})
.catch((err) => {