Revert "Added UserAccountFactory"

This reverts commit cd065bb3d7f43323969073c878d8d22e295fd663.