/**
  * Generates a secure key for the provided user
  * @param zibo\library\security\model\User $user The user to get the key of
  * @return string The secure key for the provided user
  */
 protected function getUserKey(User $user)
 {
     $key = $user->getUserId();
     $key .= '-' . $user->getUserName();
     $key .= '-' . $user->getUserEmail();
     return md5($key);
 }