Assign/Deassign button now POST a request to the correspoding method