Register user implementation.