logging into console as well as into sentry