add lower level login routine