fixed bug with facebook login