updated emulator and started defining User