changes password to null