add validate function for votes && add rank to ticket creation