removed hardcoded urls from views