Improvements to class page and security tweaks with "bind_param"