implement model HTTP methods