Changed success and error return statements in all controllers