[Added] acces denied handler
[Refactoring]