patches signout button bug