making an attempt at using the funcmap for url routing