mysql database setup and admin for voting and views for voting