front end validation + fixed upvote/downvote
frontend changes to validation