Added init function in controller to load leave requests on load