Fixed a couple issues with server routes.