removed unused code and set id field to hidden
no profile-id no cookie