Added resource id for validating slot
Add validate api for validate slots
clean up the code and add is_updated attribute
added more data attribute for edit mode
Validate resources when save the booking
removed postProcess();  no need to put any logic inside