fixed the routing when creating new or editing post or comment, still not right for cabin