added Credentials class