set credentials