dossier link works on non-authenticated users and does not create side effects when we want to login again. use of array_key_exists function to solve it.
Issue #33
session.php