fixing bug with facebook login