Adding code for asking password window