user's vote stored in database