adding ajax for voting
still working on ajax
trying to figure out login bug
fixed error