added templates and static path for images