fixing facebook connect bug
implementing security