retrieving from server working. this commit is before changing how controller works.