Hi.. The white secretions that you noticed may be the secretions of the prostate known as precum.. It can also be possible that those may be semen too.. It may have occured due to the stimulation of the penis during taking bath.. It is not of major concern and can be a normal phenomena..