finalized signin and signup in affiliates