add user and account base logic