define default layout and use it with resources page