makes it impossible to add pieces if not logged in to prevent errors