trying to get log gin to work