Fix hasProfile checkbox in user form to work without Javascript