added action methods to location and gateway controllers