Little more progress on create posts

Fixed part of the post create function. Still need to deal with
WebSecurity class issue in the post create function.