fixing login with facebook bug