Reset the userid and role after reconnecting
Set the user id after reconnecting.
Improve error handling if annotation cannot be loaded.