add preferences for url and password