Modified server to insert test data correctly; voteView files (not working fully)