Changed work of table in inventoryForm
Changed way of showing login form