First pass at getting the token

This will move to the router