logs username and invite bugfix