search by username and getAllUsers + getAllSensors implemented