added session check in dashboard.php and exported database into rtcdatabase.sql