Update main.cpp

Added functionality to show where the password is to be used