adding new post from newpost.rb