adds sleep data api route