@RequestMapping( ApplicationConstants.CREATE_USR)
	 @ResponseBody
	    public  Object createUser(@RequestParam("name") String name,
	    		@RequestParam("email") String email,
	    		@RequestParam("password") String password) {
	    	User user=new User();
	    	Map<Object,String> errorMap=new HashMap<Object, String>(); 
	    	if(name==null || "".equals(name)){
	    		errorMap.put(1, "Please enter name");
	    	}
	    	if(email==null || "".equals(email)){
	    		errorMap.put(2, "Please enter email");
	    	}
	    	if(password==null || "".equals(password)){
	    		errorMap.put(3, "Please enter password");
	    	}
	    	if (errorMap.size()>0){
	    		return errorMap;
	    	}else{
		    	user.setName(name);
		    	user.setEmail(email);
		    	user.setPassword(password);
		    	user.setCreatedDate(new Date().toString());
		    	user.setStatus(ApplicationConstants.STATUS_ACTIVE);
		    	userDao.save(user);
		        return user;
	    	}
	    }