wrote user and post models and migrations