Too much copy-paste detected. Move the code to a own method in the base controller and use it were required... Same for other related entries.