added check for token
Merge pull request #4 from maxnowack/master

Added check if no token specified