old device tiken deleted before inserting new one in api file while login to mobile app