max session length validation
Merge pull request #23 from dkandalov/master

validating max session length