Fix application layout to link to correct URLs