refactored get_absolute_url to remove hard-coded links