ML: extra functions removed from db, main and passwdCrypt cleaned