Added class to manage credentials.