adding user id to collection when voting