Authentication flow and Facebook integration working