Query logs for logged user