switch to session ids and make code more concise
add IP address tracking and update README