 				callback err
 			else
 				callback res
-


		userDoc.emails = [{address: options.email.toLowerCase(), verified: false}]
		
		# Check if this phone is already existing somewhere

		# Insert user in standard Accounts object
		userId = Accounts.insertUserDoc options, userDoc
		
		Meteor.users.update userId, { $set: {email: options.email.toLowerCase(), phone: options.phone services: userDoc.services, emails: userDoc.emails, try: 0} }

		return userId


		
		return true





##############################################
############ CLIENT SIDE METHODS #############
##############################################

if Meteor.isClient
	Meteor.getAuthMethods = () ->
		Meteor.call 'livetoken.authMethods', (err, res) ->
