updated API Project 2 Phase II

Fixed error when params[:location_lookup] == nil