coding for rendering button started and more options are added to admin interface