handshake API

Didn't you have to write some code for loggins that dealt with that?