fixed bugs with fb login