add locations and gateways action methods to home controller