database setup working locally