Move user store operations into separate module

Change-Id: I7f81f48ff6415f15125ad58ef15a1f7ed7f91678