add some TODO tasks
add to json function
add the redis information for the frontend