created a file that log outs a user