Merge pull request #21 from kcrayon/sessioncookieoptions

simplify session cookie options
clean up error handling
add options for logging
Merge branch 'logoptions' into develop
Merge branch 'configpath' into develop