rework of maps and added router for create invitations