fixed signin and signout