removing localhost static hard code for social