changed nav bar to only show views in which the user can access