uid changed to id, and app now works.