changed design and added migration for temp access tokens