Adding lined indentations.

What: encased all of the main page logic inside a main page if statement.
Why: so that I can differentiate the main page route from other routes.