generate users
craete retire function