added more signed in/signed out? logic