moved view rendering inside
unbundled nested server