removed json render from controllers