got voting working on front end, prev next