Removes debug code from User model.