User registration, confirmation and invitation with JWT token and django rest framework