Fixed toggle in inventory form and parameter correction in auth method