telling us that something doesn't work is pointless. we are not sitting next to you and didn't see what symptom or error you got that leads you to believe something didn't work. you must tell or show us what result you got and what the expected result should be.
do you have php's error_reporting set to E_ALL and display_errors set to ON, preferably in the php.ini on your system, so that php will help you by reporting and displaying all the errors it detects?
have you checked in the browser's developer tools, console tab for errors?
you should use 'require' for things your code must have. require/include are not functions. the () around the path/filename do nothing and should be removed.
$_GET['email'] is an input to your code. it may not exist. you need to use isset() to prevent errors when it doesn't exist and you must trim, then validate it before using it, when it does exist.
the two session variables are also inputs to your code. they may not exist. you need to use isset() to prevent errors when they don't exist.