added authentification
added pdf export