added Credentials class back