In point of fact they actually are. They have the power to detain and make arrests, and investigate crimes. They have only been tasked with protecting the President since after William McKinley was shot. Prior to that their main job was going after counterfeiters, a job they still perform even today.