Refactoring

* Setup new DB method
* updated account_lookup
* updated account_create
Refactor update_passcode