add default empty value to get user agent in session