Server page cleanup and validation