jsonify and auth wrappers on server side