Changed the registration api to return strings only