Two bugfixes

1. Fix for utility method that was adding an extra "/" into the url--didn't hurt anything, but no point in making urls ugly
2. Fix for code that was generating an incorrect url.