add signout logic