Fix order creation.
Fix column name in migration.
Fix logout link.
Add a flash alert with login link for unauthorized users.