Fix createuser issue