Included loginStatus.php and called areYouLogged function in admin add files.