Added implementation for the JoinNetwork and CreateNetwork activities