changed profile to name in the controller & route file