Adding profile page content.

Refactored some template logistics.