[Added] creating account in database using password encoder