Added flash notice to logout