fix selectImage deprecation warning, fix messages mock api call returning 404