Removed an extra print statement and added a concept to remove the auth from the logs in the header section