fb login and logout fix