Refactored to always change user password and do database existance checks and creation