You can try to send me the file again but it really shouldn't be related (necessarily). I mean, I can log in and out just fine with my version.
Header errors can be caused by a file attempting to render anything not code. Check for blank space at the beginning and end of the file and remove any that you find. But this is caused by cookies, so it thinks? In which case I'm really not sure.