refactor to allow post or just token submits.  New tests
Adding travis secret keys for tests