register resource routes with express