Removing credentials and resetting it