PR for dev_1.0

Noted po. Changed IF condition with:
return (isset($_SESSION["id"]));