echo json back on successful auth