using flash middleware for alerts