refactor(dropbox) login