Invitations and registration system implemented (without create new practice), refactorings