use cookies to store player's last position
remove mysql code, but leave library