adding flash messages, ajax flash messaging