database and authentication set up, basic routing set up