Created controllers and view pages