Updated preferences file and added Username/Password save