Adding some logging to the app