Made UserViewModel, works for both Register and Sign In