local storage use pessimistic locking
added transactions commands and checks