added user controller and index page