Manage the sessions of the user to prevent session hacking (PHP)