fixed bug in Facebook login