Adding config and addUser method.