added flashes for sessions controller