removed json responses from controllers