Code for Social networks app