Added optional '/' to routes to handle forward slashes