Man with loaded guns arrested at middle school