fixed bug with token validity after set time. added specs. bumped to version 1.0.0