Added a testing client

introduced basics of token-based login