update item register and user login