Completed userstore implementation.