created admin layout, wrote attribute for selected tabs