++ Added condition to accept passwords stored as string.