still working on returning data from server, seems like it should work but its not