token generator comments added, removed login classes
added tests for token generator