edited redirect of flashes in sessions controller
verified availability works with time