account creation and guests allowed refinement, remove unnecessary javascript