WIP - Vote (and fixed a bug in getting registration id)