moved salt function
added challenge response verification for server auth
Using jStorage

.session jquery stores session data in a cookie :/ this was sending
private key data to the server - replaced with jStorage which uses HTML
5