register device on development vs production