Added check int to registration