generalized fb login