added underscores to routes and and fixed formatting in controller