more advanced signin/signout