Added contextpath to urls so it works in production.