update set_db_options to include user and passy, and delegating instance method to class method for the same