Added mandatory commit on db session