Hooking up radio buttons to backend