set up registration