Trump slams US security after deadly attacks