add CommonHTTPRequest and update mainactivity