Added user prompt code
onClick function working properly