Refactoring layout of registration screen.