working from login to view stream