add boolean owner to device entity

* boolean added for indication if user that retrieved tha list of
devices is owner or not.
* removed filed userId since that was a duplicate to ownerId