updated streaming, added login check (though very flimsy atm)