Adds flash notifications for loging/logout