created a posts controller using artisan, created new route resource