Closes #83: Refactoring session type durations to not be hardcoded, and to generate the appropriate error messages and hint message