a couple of changes related to user registration