cosign login implemented (can be turned off)