                 if let error = error {
                     store.dispatch(UserAuthFailed(error: error))
                 } else if let user = user {
-                    store.dispatch(UserLoggedIn(userId: user.uid, emailVerified: user.emailVerified, email: email, password: password))
+                    store.dispatch(UserLoggedIn(userId: user.uid, emailVerified: user.emailVerified, email: email))
                 } else {
                     store.dispatch(UserAuthFailed(error: FirebaseAuthenticationError.LogInMissingUserId))
                 }

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


                    store.dispatch(UserAuthFailed(error: error))
                    completion?(userId: nil)
                } else if let user = user {
                    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))
                    }
                } else {
                    store.dispatch(UserAuthFailed(error: FirebaseAuthenticationError.SignUpFailedLogIn))
