Auto associate streamId when stream url

When stream url is accessed while logged in, the stream now gets
associated with the user and user is redirected to user url.