ViewModel for the LoginScreen
Creates a ViewModel for the LoginScreen
StateFlow to observe if the user is created
StateFlow to observe if there is an error
StateFlow to observe if the verification email is sent
LiveData to observe if the user is being created
Create a user with email and password within Firebase Authentication and Database
Reset error message as the focus on the user form changes
Reset the ViewModel
Sign in with email and password