Fixed the TimeInputs to to accept am/pm and made the session expire when the browser closes.