added additional tables to work with users and to split up document data