added background image and flash messaging