auth looping issue now resolved