adding custom controller called by front-end

adding custom controller called by front-end