cleaned up registration view and app layotu