Various changes

- Added license file header
- Added configuration option to restrict joining to only existing user
accounts.