Update bot.py

added ping test, ssl added, user table