Fixed Register new user bug