I have a request from the client, that the form be used both as a registration form, and a form for post submissions. Therefore, there will be fields for registration, and fields for posts, and the form will have to create the user according to the registration fields (unless the user already exists) , and then create the post according to the post fields, and attribute the post to that created user, so that when that user logs in to the admin, he will see only the posts that he submitted (the same user should be able to submit the form multiple times, for multiple posts).
How can I do this?