implemented guest registration