Bug fixes

Fixed the navigation of logged in user.