Add Facebook login code. Seems to work, mostly.