Set up database module and cookie salt