Added DetailsView to TextDocument and login