Finish adding flash messages after logging in or out