Add before_action :get_all_users to application controller in order to make the typeahead available to all pages within the app.