Added filter for appointments and other ui enhancements.