change DB to MariaDB, fix faulty ORM bindings, finish log in