Store device id on session