added ensure user to applications controller and added a the dropdown in navbar