Added validation for if callback function is set
Added set response function to handle the response output
added action to status to handle display of theme also