transfered form input factory from module.user

title says it all