Prevented replay attack at login

This little code snippet prevents [replay attacks](https://en.wikipedia.org/wiki/Replay_attack). I as well updated the readme a bit