<?php
session_start();

if (isset($_SESSION['logged']))
  include 'assets/php/dashboard.php';
else
  include 'assets/php/login.php';