/**
  * @param $launchkey_user_hash
  */
 private function prepare_for_launchkey_pair($launchkey_user_hash)
 {
     // Set the pair cookie with the LaunchKey user hash
     $this->wp_facade->setcookie('launchkey_user', $launchkey_user_hash, $this->wp_facade->current_time('timestamp', true) + 300, COOKIEPATH, COOKIE_DOMAIN);
     // Redirect to finish pairing
     if (!$this->wp_facade->current_user_can('manage_options')) {
         //not previously logged in
         $this->wp_facade->wp_redirect($this->wp_facade->wp_login_url() . "?launchkey_pair=1");
     } else {
         //previously authenticated
         $this->wp_facade->wp_redirect($this->wp_facade->admin_url("profile.php?launchkey_admin_pair=1&updated=1"));
     }
 }