Modified isRegistered method to return regular strings ; changed parameter name