implemented social layer