add document selection, passwords, sessions, and sqlite