Fixed signout issues