added facility to associate badges to department...

only admin user can perform badge edits
added commented code to pick images from gravtar