added handlebars logic and set css for table