Lots and lots of updates.
Added database configuration.
Added authentication restriction to login and channels.