tidied up facebook login a bit