anchor.diff:      };
   
       var users = []; // Clean Users Array to work with
  +    var usersearch = []; // User Serach Result
       var graetzls = []; // Clean Grätzl Array to work with
       var locations = []; // Clean Location Array to work with
       var mc_automations = []; // Mailchimp Automation Mailings
  
positive.code:   </div>
  
    <div id="report_nav">
      <button class="btn-primary -rosa" data-nav="page_dashboard">Dashboard</button>
      <button class="btn-primary -mint" data-nav="page_users">User</button>
      <button class="btn-primary -mint" data-nav="page_locations">Locations</button>
      <button class="btn-primary -mint" data-nav="page_rooms">Raumteiler</button>
      <button class="btn-primary -mint" data-nav="page_meetings">Treffen</button>
      <button class="btn-primary -mint" data-nav="page_graetzls">Grätzl</button>
      <button class="btn-primary -mint" data-nav="page_mailings">Mailings</button>
      <button class="btn-primary -mint" data-nav="page_search">Suche</button>
    </div>
  
  <!-- PAGE SEARCH -->
    <div id="page_search" class="page input-field">
      <label for="search">
        <%= icon_tag "search" %>
        <span>Suche</span>
      </label>
      <input placeholder="Suche nach E-Mail Adresse ..." type="text" id="search">
      <button class="btn-primary" data-nav="page_mailings">Suchen</button>
    </div>
  
  <!-- PAGE USERS -->
    <div id="page_users" class="page">
  
negative.code:         page_loader(page);
  
        })
  
        // Toggle Search Field
        $('#btn-search').on( 'click', function() {
          $('#page_search').slideToggle();
        })
  
        // Search Form
        $(document).on( 'submit', '#search-form', function(event) {
        	event.preventDefault();
          var searchParam = requestUserSearch($('#search-value').val());
          Promise.resolve(searchParam).then(function(res) {
            console.log(usersearch);
            page_loader('page_users');
            datatable_users(usersearch);
          });
  
        })
  
        // Search Request for User
        var requestUserSearch = function(email, id){
  
          // Emtpy Search Result Array
          usersearch = [];
  
          return new Promise( function(resolve, reject) {
            $.ajax( {
              url:'/admin/users.json?q%5Bemail_contains%5D=' + email,
              method:'GET',
              success:function(response) {
                for( i=0; i < response.length; i++ ) {
                  usersearch.push({
                    id: response[i].id,
                    graetzl_id: response[i].graetzl_id,
                    graetzl_name: '',
                    graetzl_app_path: '',
                    created_at: new Date(response[i].created_at),
                    username: response[i].username,
                    first_name: response[i].first_name,
                    last_name: response[i].last_name,
                    email: response[i].email,
                    user_path_admin: host_admin + 'users/' + response[i].slug,
                    user_path_app: host + response[i].slug,
                    role: response[i].role,
                    districts: [],
                    locations: []
                  })
                }
                completeUser(usersearch);
                resolve('usersearch');
              }
            });
          });
        } // Search for User
  
  
      });
      // END Page Navigation //
  
  