fix incorrect path in sample app tutorial and typo

Path is incorrect for the post controller on the sample app tutorial