Refactored page rendering and added form title and logo