Added Listener for storing the path for keys and email format