finish signin and signout