change session generation
Change debug level
date function optimisation
add a test for date_month
merge development into master