adding logging for API calls

When implementing the RemoteTech API it was very nice to know if the API was receiving calls. I cleaned up the changes i had made for my own use