complete signin and signout