code cleanup and moved the logo to the top of the page