add urls social network
refactoring code