post.rb refactored, votes_controller methods (vote_up/down) added