Now the database insert and retreive is partially working from socities