Troubleshooting signin signout bug