update details and leaverequest handling
some changes in main file