before actions to user controllers and nav bar changes