View client and add client functionality

Adding a client is kind of hacky right now. The auto-increment CID
wasn't working as it should in the DB, so I just found the highest CID
in the table and added 1 to it for the new CID.