Replaced prompt with ask in the Auto Login part