added first stab at authentication and fixed configs