saving password in preferences
Merge branch 'master' of https://github.com/aagam-shah/newtrouble
added password pref