Login for open documents