adding locations view controller delegate methods