criacao das telas master/detail