fixed nested resource routes, added route logging