Adapting and creating actions and links to admin