get secret key and pass and sign a message to login

signing doesn't work yet for some reason or other