user->id); if (!$user) { return null; } return $user->auth_key; } }