Removed logs
Added helper method to generate urls