server side tagging functionality implemented, addTag and removeTag functions added to the controller.