Made some changes to setup SQL. Also started using blowfish-based hashing instead of md5.