adding logging on api