add more methods to rest api