device token and login at the same time