Implemented UserInfo and Command handling.

Uses MySQL to store users and command information.