return session from flash method if session has been set

Signed-off-by: Blessing Osakue <iyoworks@gmail.com>