Security Improvements for a Complex Health Care Application