set expires and set user_id and email from local memory