Created custom controller