Move Database to Home

Update to use sessions to pass database around