add severity and username, resize image