updated controllers and models to use FriendlyId