Changed kunde and auth
fixed some bugs