updated clearsignup function -complete