set default user agent and gave user agent choice