deleted flash alert method from admin controller