APC Serverside Validation

Added Serverside Validation for all the buttons.