Fixes profile form submission.
Refactor page layouts and remove superfluous data from pages.