moved Curl processing from controller to User model