1, add the restful API for sessions