updated index and show for basic grails functionality