added media api, comment api
modify friend api