 				bot.sendMessage chatterID, "Reply '+add <AMOUNT> doge' to add dogecoins to your account"
 				bot.sendMessage chatterID, "Tip users with '+tip <STEAM NAME> <AMOUNT> doge'"
 		when "+add"
-			await checkIfRegistered chatterID, defer(registered)
+			await checkIfRegistered chatterID, defer(registered, user)
 			if registered is undefined
 				return bot.sendMessage chatterID, "The database ran into an error"
 			unless registered
 				return bot.sendMessage chatterID, "You must register before you can add funds. Do this by sending '+register'."
 
-			await Users_collection.findOne {id: chatterID}, defer(err, user)
 			if user
 				for transaction in user.history
 					if transaction.status is "pending" then return bot.sendMessage chatterID, "You already have an +add request pending"

	await Users_collection.findOne {id: steamID}, defer(err, user)
	if err
		console.error err
		cb undefined
	registered = if user then true else false
	cb registered

bot.on "chatMsg", (sourceID, message, type, chatterID) ->
	if message is "Me"

					console.error err
					bot.sendMessage chatterID, "The database ran into an error" 
		when "+finishadd"
			await checkIfRegistered chatterID, defer(registered, user)
			if registered is undefined
				return bot.sendMessage chatterID, "The database ran into an error"
			unless registered
				return bot.sendMessage chatterID, "You must register before you can add funds. Do this by sending '+register'."

			for transaction in user.history
				if transaction.status is "pending"
					break
