cookie retrieval working in all modules
application finding device cookie or creating a new one on device creation