some styling and flash messages