adding database fields into the show view