changing controller method names to make it http friendly
removed test code