updated master view to show diff navbar if user logged in