Frontend: Fix undefine index HTTP_USER_AGENT