added homepage and some fixes to other templates