Added a test for logged in and sensors endpoint
Added a test for logged in and sensors endpoint