fixed some problems with fb login