Half way done! User.php is also an addition

Added User.php ( our dashboard) ,  Check if the user is logged in or not
. If they are not logged in, they will be directed to log in page.