add pasword modal & refactor dropbox service