Add function to check if a user is registered on the chain, if not then prompt the user to register.
Add function to check if a user is registered on the chain, if not then prompt the user to register.