[TASK] Change the database connection in the session manager