                     store.dispatch(UserAuthFailed(error: error))
                     completion?(userId: nil)
                 } else if let user = user {
-                    store.dispatch(UserSignedUp(userId: user.uid, email: email, password: password))
+                    store.dispatch(UserSignedUp(userId: user.uid, email: email))
                     if let completion = completion {
                         completion(userId: user.uid)
                     } else {
-                        store.dispatch(UserLoggedIn(userId: user.uid, email: email, password: password))
+                        store.dispatch(UserLoggedIn(userId: user.uid, email: email))
                     }
                 } else {
                     store.dispatch(UserAuthFailed(error: FirebaseAuthenticationError.SignUpFailedLogIn))

    - userId: The id of the user
    - emailVerified: Status of user’s email verification
    - email: Email address of user
    - password: Password of user
 */
public struct UserLoggedIn: FirebaseAuthenticationAction, CustomStringConvertible {
    public var userId: String
    public var emailVerified: Bool
    public var email: String
    public var password: String
    
    public init(userId: String, emailVerified: Bool = false, email: String, password: String) {
        self.userId = userId
        self.emailVerified = emailVerified
        self.email = email
        self.password = password
    }
    
    public var description: String {
        return "UserLoggedIn(userId: \(userId), email: \(email), emailVerified: \(emailVerified))"
    }
}


 - Parameters
    - userId: The id of the user
    - email: Email address of user
 */
public struct UserSignedUp: FirebaseAuthenticationAction {
    public var userId: String
    public var email: String
    
    public init(userId: String, email: String) {
        self.userId = userId
        self.email = email
    }
}

