enabled logging for Production and added UncaughtExceptionHandler