Fixed bug in facebook login