adding support for dni registration
adding support for registration using scanned dni