Modified submitPost method

The submitPost method will now return false if the post wasn't posted
successfully and return true if it was posted successfully.