inserted demo mode, some frontend updated