create votes resource