view controller talking to back end