Added User ID check for dashboard