removing session tracking for cleaner testing.
updating device secret to not lose the new value once it's assigned. (it was being released)
removed unused methods
adding JSON return value for the  updates call.