Seperated user codes to their own tables, implemented Phpass for codes, various other enhancements.