clean up registration controller