Refactored setting the DB context user name