get the basic of auth working