user registration and update process