facebook permission implementation correction