add Database.from method using username and password