how to make multipages in basic client app

how to make multipages in basic client app

how to make different pages for admin and app user in basic web app.Then I want to change my logics in single main.js file in MVC. how do make it?
When i try to do that it displays the below error in attachment.

      Catalyst Community