Added reset credential method