fix verify join private group
JSSCR-66 : Verify user can share location on status posts

also optimize some another codes