Set up access to database. May need work.