more definitions for registering_user