add log messages in backend
rename API method