added more functionality to UI. need to fix adding to location collection (this.locations is out of scope). and also for mulitiple address, need to take input rather than [0] from the result