finish signin and signout module