Added user info to revision table and AUTO_INCREMENT removal bug fix