credentials and parsing