fixing FB login and out flow