social network written mainly in php