added logger and removed the sitemesh