Moved login to a seperate controller and set as the default. Also added some templates for the header and footer.