Get or create token

Rewrite of #5 
read is better :)