updated #1 and #15 sharing system record created, friend table bug also fixed