added ActionDeniedView and fixed some minor bugs