Add cookies for the current user and the session id. Keep track of the user for each chat in the browser