eddited details template to display info more clearly
updated index template