reseting credentials stuff