Initial Commit
Only send 500 if headers haven't been sent