facebook login flow and fb logout problem