Add internal server error to controllers

Title pretty much says it all.