fixing private key login again, simplyfing shadows on thread view