Remove unused code.
Register user add username exist check.