Fixed a problem with device.user not storing on the server side