Updated init file, and added config
Added a require login setting.
Enforced login requirement.