Changed the method name for checking blocked paths, fixed an issue with some brackets and set a good message before intercepting the event and sending our response.