fixed bot user handling (bot should only have a user when connected)