adding user agent to request