fix class-wp-image-editor-gd and login and add neccessary files