created and linked user and post models