Moved Security to kernel namespace.

Added user authentication to bot.