 
 mongoose = 			require('mongoose')
+colors = 			require('colors')
 EventEmitter = 		require('events').EventEmitter
 
 class Registration extends EventEmitter

		@mdl = 		require(global.home + '/script/models/registration/registration')(JSON.parse(@req.query.model))

		this.on 'send', () =>
			console.log 'mdl', @mdl.model
			@res.jsonp @mdl.model

		


		this.on 'check', () =>
	
			if @mdl.model.success is true

				@User.findOne email: @mdl.model.email, (err, exists) =>
					if exists?
						@mdl.emailExists()
						@emit 'send'
					else
