added controllers
controllers and layout