Finished connecting functionalities of user and device groups. Implemented models for sensor/devices and their types