credentials set properly