fixed bug with User registration which cause param values not to be saved to the Users table