added a jsh_logout file and fixed the ugly EOF (^D) exiting with an extra newline