implement permit page