Fixed facebook Login Error and Deprecation Warnings