functions for reading token and project ids