account management logic v1