array_unique for flashes on login page