clean up users code