made client work

- resolve bug in client
- use token for client info submission
- created tokenParser for simple encryption