Using promises for #vote and #register to solve concurency