updated logout script to truncate bash_history file