You should really put the header and exit lines inside the else { } braces too, as you want it only to run when the $_SESSION['status'] is set

While in this code it's not actually going to matter, it's always a good idea to keep your logic well organised. For instance, should you later choose to change the link's die() to a print/echo then it will always run that header line and you will get headers sent errors