Fixed bug with facebook login