fixed login.js to redirect to stream route