How can Indian Railways improve its financial discipline without affecting essential services?

Given the recent concerns about unauthorized expenses in Indian Railways, I want to understand how the organization can control its finances while still meeting the needs of passengers and operations.