order of inputs on /register was wrong