Added group based security, and permissions to admin views.