Rebuilt initial database migration + working on createpassword + fixed bug in positionupdate code.