update signin and signout