formatting of profile form

...and also fixing indentation of the html file