fix logout, edit article form, autoload categories