modifying to work with time based tokens and also storing 2 pieces of information together with token: apikey and userid