Merge pull request #291 from danys94/parametrize_token_expiration

Parametrize token expiration time