added acct register functionality