Added control if the user is already registered