updates device token after each login