Fix posts controller to be able to set userID and projectID for a post.