templates for index, register, profile