add charset
hide modal before destroying it so body's modal-open class is removed
add feature to show files that are set public in loginview and signupview