Replaced the flash messages with a snackbar!