change user[email] to device[remote_email]