refactor html controller syntax to use route binding