assign user to Null if html error