add field to token so we can redirect after login