I fixed most of the problems. I did notice that the form only actually requires you to fill in name and address, even if you have the flags on. I'll look into this later. I've been going through too much code and too many changes to worry about it now.
The one major problem I'm still having though is that the name and email are still coming in with the not logged in message instead of what the customers input.
Any suggestions?
edit: I think I see what it is, I have my customer name and customer email fields (I have no clue about proper php terms), the same as the Office Use Only Login Name and Login Email
Bookmarks