got authentication working, added some configuration