ios8-facebook issue fixed

in ios8 the view won't close after retrieving the token from Facebook. Added the DismissViewController to close the view