Add logging to onmiauth action