finish user signin and signout