Add test for signout
fix sign out bug