working code - admin styling completed