updated PHP Version, fixed double click, reversed key order (public->sec...

...ret)