facebook login functionality fixing