Use url reverse instead of hardcoded urls