Added tx block around user registration