added authentification
fixed client-log