- setting credentials