Refactored registration view and app layout.