auth and image fix