fixed frontend js errors

- fixed error when NotificationsView is cleared when no notification is set
- fixed error on signing out