modified user module, fixed var names, add min max and warn days attributes