fix layout and template path in crud controller