set the correct status when a new user is registered

Change-Id: Ie36049c280705c3238515fa765269e7d4f84175d