Add registration validation

Signed-off-by: toshle <rosen_ra4ev@abv.bg>