adding more functionality in admin panel