Adds logging and changes client id