@SuppressWarnings("deprecation")
	@RequestMapping(value="/signup", method=RequestMethod.GET)
	public String signupForm(WebRequest request) {
		logger.info("signup is called");
	    Connection<?> connection = ProviderSignInUtils.getConnection(request);
	    if (connection != null) {
	    	UserProfile profile = connection.fetchUserProfile();
	    	logger.info("first name is " + profile.getFirstName());
	    	logger.info("username="+profile.getName());
	    	
	    	MyUser muser = userdao.findByName(profile.getName());
	    	if (muser == null) {
	    		muser = new MyUser();
	    		muser.setUserName(profile.getName());
		    	muser.setPassWord("");
		    	userdao.insert(muser);
	    	}
	    	
	    	SecurityUtil.signInUser(muser);
	        ProviderSignInUtils.handlePostSignUp(muser.getUserName(), request);
	    } 
	    return "home";
	}