ios8-facebook issue fixed

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