controller exceptions return url optional
updated catch block