updated user-registration features and some other stuff