added admin handler and directory