Add logging and non logged functions to IDatabaseExtensions
Move update session to repository